/**
 * 办公管理路由
 */
export default [
  {
    path: '/office',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'announcements',
        name: 'OfficeAnnouncements',
        component: () => import('@/views/office/Announcements.vue'),
        meta: { title: '公告管理' }
      },
      {
        path: 'notifications',
        name: 'OfficeNotifications',
        component: () => import('@/views/office/Notifications.vue'),
        meta: { title: '通知消息' }
      },
      {
        path: 'schedule',
        name: 'OfficeSchedule',
        component: () => import('@/views/office/Schedule.vue'),
        meta: { title: '日程管理' }
      },
      {
        path: 'tasks',
        name: 'OfficeTasks',
        component: () => import('@/views/office/Tasks.vue'),
        meta: { title: '任务管理' }
      },
      {
        path: 'documents',
        name: 'OfficeDocuments',
        component: () => import('@/views/office/Documents.vue'),
        meta: { title: '文档管理' }
      },
      {
        path: 'meetings',
        name: 'OfficeMeetings',
        component: () => import('@/views/office/Meetings.vue'),
        meta: { title: '会议管理' }
      },
      {
        path: 'approvals',
        name: 'OfficeApprovals',
        component: () => import('@/views/office/Approvals.vue'),
        meta: { title: '审批管理' }
      },
      {
        path: 'contacts',
        name: 'OfficeContacts',
        component: () => import('@/views/office/Contacts.vue'),
        meta: { title: '通讯录' }
      },
      {
        path: 'work-logs',
        name: 'OfficeWorkLogs',
        component: () => import('@/views/office/WorkLogs.vue'),
        meta: { title: '工作日志' }
      },
      {
        path: 'emails',
        name: 'OfficeEmails',
        component: () => import('@/views/office/Emails.vue'),
        meta: { title: '邮件管理' }
      },
      {
        path: 'todos',
        name: 'OfficeTodos',
        component: () => import('@/views/office/Todos.vue'),
        meta: { title: '待办事项' }
      },
      {
        path: 'todo-board',
        name: 'OfficeTodoBoard',
        component: () => import('@/views/office/TodoBoard.vue'),
        meta: { title: '待办看板' }
      },
      {
        path: 'contract-management',
        name: 'OfficeContractManagement',
        component: () => import('@/views/office/ContractManagement.vue'),
        meta: { title: '合同管理' }
      },
      {
        path: 'electronic-signature',
        name: 'OfficeElectronicSignature',
        component: () => import('@/views/office/ElectronicSignature.vue'),
        meta: { title: '电子签章' }
      },
      {
        path: 'mobile-approval',
        name: 'OfficeMobileApproval',
        component: () => import('@/views/office/MobileApproval.vue'),
        meta: { title: '移动审批' }
      }
    ]
  }
]

